﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 社团会员实体类
    /// </summary>
    public class ClubMember
    {
        /// <summary>
        /// 社团会员Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 社团会员姓名
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 社团会员性别
        /// </summary>
        public string? Sex { get; set; }
        /// <summary>
        /// 会员年级
        /// </summary>
        public string? Grade { get; set; }
        /// <summary>
        /// 会员出生日期
        /// </summary>
        public DateTime Birthday { get; set; }
        /// <summary>
        /// 会员电话号码
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 会员QQ号
        /// </summary>
        public string? QQ { get; set; }
        /// <summary>
        /// 会员照片地址（URL）
        /// </summary>
        public string? Picture { get; set; }
        /// <summary>
        /// 会员爱好
        /// </summary>
        public string? Hobbies { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Memo { get; set; }
        /// <summary>
        /// 会员所在社团Id
        /// </summary>
        public int ClubId { get; set; }
        /// <summary>
        /// 会员所在部门Id
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 会员专业Id
        /// </summary>
        public int ProfessionId { get; set; }

        /// <summary>
        /// 删除标识（值为1代表删除，0代表正常）
        /// </summary>
        public int DeleteFlag { get; set; } = 0;

        /// <summary>
        /// 会员所在社团名称（用于显示，非数据库字段）
        /// </summary>
        public string? ClubName { get; set; }
        /// <summary>
        /// 会员所在部门名称（用于显示，非数据库字段）
        /// </summary>
        public string? DepartmentName { get; set; }
        /// <summary>
        /// 会员专业名称（用于显示，非数据库字段）
        /// </summary>
        public string? ProfessionName { get; set; }
    }
}
